Tree and item skill tooltips#9892
Merged
Merged
Conversation
Contributor
Author
|
I've rebased this to dev so that it doesn't depend on other PRs anymore. |
When hovering over a skill node then a mastery on the tree it would retain the skill tooltip Vaal skills no longer duplicate the level / quality / requirements lines Fixed crash when using Runegraft of Blasphemy as it has an empty ExtraSkill entry Simplify the gem lookup
LocalIdentity
approved these changes
Jul 20, 2026
LocalIdentity
merged commit Jul 20, 2026
803b0d2
into
PathOfBuildingCommunity:dev
2 of 3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the problem being solved:
Ports tree tooltips from PathOfBuildingCommunity/PathOfBuilding-PoE2#1969, although the tooltip code is mostly as it was in pob1.
Also ports item tooltips from PathOfBuildingCommunity/PathOfBuilding-PoE2#2208. I'm not sure this was done correctly. In pob2 I found a skill gem for each item skill, but in pob1 I couldn't, which means the skill tooltips don't have tags etc. These are shown when shift is held.
"Socketed gems are supported by #" mods are also included in the tooltips.
Flavour text was also added. Credit for the code goes to Blitz54 in PoB2
Quality ranges and level ranges were NOT added as it seems like the tree and items always grant the same level, and there's afaik no way to add quality to them.
Steps taken to verify a working solution:
I think the core functionality is working properly, but there are little things like tooltip positioning and gaps which are frankly sometimes complete nonsense and a massive pain in the ass. These might still be wrong. For example the height received from GetSize just doesn't match up and produces different-sized gaps for different tooltips.
I'm also not sure if there could be some style changes similar to what @Blitz54 did in PathOfBuildingCommunity/PathOfBuilding-PoE2#1992.
Link to a build that showcases this PR:
Item database
Before screenshot:
After screenshot: